package com.mobile.collect.view;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;

import com.mobile.collect.R;


/**
 * 作者：李学伟
 * 日期：2018/8/9
 * 用途：
 */

public class MyEditText extends MyTextView {

    public MyEditText(Context context) {
        super(context);
    }

    public MyEditText(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }


    public int getViewResourceId() {
        if (orientation == 0) {
            return R.layout.myedittext;
        }else{
            return R.layout.myedittext_h;
        }
    }

}
